package com.mdb.open.trade.domain.dto.product;

import com.mdb.bc.api.data.DataObjectBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author liuyi
 * @date 2019/07/20
 **/
@Data
@ApiModel(value="RecoverLimitDto", description="额度恢复dto")
public class RecoverLimitDto extends DataObjectBase {

    /**
     * 额度使用流水号
     */
    @ApiModelProperty(value = "额度使用流水号")
    @NotBlank(message = "流水号不允许为空")
    private String seqNo;

    /**
     * 恢复金额
     */
    @NotNull(message = "本次恢复金额不允许为空")
    private BigDecimal recoverBal;

}
